package interfaces

type IfNoSqlKv interface {
	Connect(map[string]string) //初始化连接
	GetInstants() interface{}  //获取对象实例
	Test()
	Set(key string, value interface{}, options ...interface{}) bool //设置
	Get(string) interface{}                                         //获取
	Exists(string) bool                                             //是否存在
	Expired(string, int) bool                                       //设置过期时间
}

type IfNoSqlDoc interface {
	Connect(map[string]string)
	Test()
}
